package cn.zebra.dev.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author runnable@sina.cn
 */
@SpringBootApplication(scanBasePackages = "cn.zebra.dev.*")
@EnableAsync
@MapperScan(basePackages = {
        "cn.zebra.dev.**.dao"
})
@EnableEurekaClient
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
